/**
 * 子进程，定时轮询执行JiraService，从Jira服务器中获取数据
 */
const JiraService = require('./JiraService');

const t =require('../Tools/TimeTool')
const INTERVAL_TIME = 40 * 60 * 1000;
JiraService.run();
JiraService.runSingle();
setInterval(async function () {

  await JiraService.run();
  await JiraService.runSingle();
  
}, INTERVAL_TIME);





